package bug.buffs
{
	import flash.display.Sprite;
	
	import bug.ResourcesManager;
	
	public class BuffIcon extends UI_Prop
	{
		private var _buffData:BuffData;
		public function BuffIcon(data:BuffData)
		{
			_buffData = data;
			addChild(ResourcesManager.getBitmap(data.icon));
			//addChild(new UI_Prop());
		}

		public function get buffData():BuffData
		{
			return _buffData;
		}

	}
}